package jam.network.message;

import jam.network.*;

/**
 * Class to create a request for the users contact list
 */
public class ClientRequestContactList extends ClientMessage {

	protected String message;

	/**
	 * Constructor.
	 */
	public ClientRequestContactList() {
		super(NetworkController.getTransID() );
		int transID = NetworkController.getTransID();
		message = ("CR_CONTACTLIST:" + transID);
		NetworkController.sent.put( transID, message );
		NetworkController.setTransID();
	}

	/**
	 * toString method.
	 *
	 * @returns the message to be sent across the network
	 */
	public String toString() {
		return message;
	}

}